package com.property.manage.model.parking;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/9/11
 */
@Data
@TableName("t_parking_rent")
public class ParkingRentEntity {

    /**
     * 在租
     */
    public static final Integer STATE_RENTING = 1;

    /**
     * 删除
     */
    public static final Integer STATE_DELETED = 2;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer buildingId;

    private Integer parkingNum;

    private String parkingNo;

    private BigDecimal rentFee;

    private String userName;

    private String phone;

    private LocalDate startDate;

    private LocalDate endDate;

    private Integer state;

    /**
     * 车牌编号
     */
    private String cardNo;
}
